package com.heima.behavior.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Document("ap_unLikes_behavior")
@ApiModel(description="APP不喜欢行为表")
public class UnLikesBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private String equipmentId;

    /**
     * 关注用户ID
     */
    @ApiModelProperty(value = "文章ID")
    private Long articleId;

    /**
     * 操作类型: 0 不喜欢 1 取消不喜欢
     */
    @ApiModelProperty(value = "操作类型: 0 不喜欢 1 取消不喜欢")
    private Integer type;

    /**
     * 登录时间
     */
    @ApiModelProperty(value = "登录时间")
    private Date createdTime;
}
